
//
// 110410 - AH - (Fantoft Club) Created.
// 11
//

package org.soekrat.engine.pitbul.generator;

import java.io.IOException;
import java.io.PrintWriter;

import org.soekrat.engine.Soekrat2Engine;

/**
 * <p>
 *   {@link FormGenerator} that generates code for the node form.
 * </p>
 * @author Arne Halvorsen (AH)
 */
public final class NodeFormGenerator extends FormGenerator 
{
  /**
   * <p>
   *   Constructor.
   * </p>
   */
  public NodeFormGenerator(){ super("node"); }

  @Override
  public void generate(Soekrat2Engine se, PrintWriter pw) throws IOException 
  {
    /*
    if (se==null)
    {
      throw new NullPointerException("se");
    }
    if (pw==null)
    {
      throw new NullPointerException("pw");
    }
    
    Pit pit=se.getPit();
    
    for (Node node : pit) 
    {
      String name=node.getName();
      pw.print("{node be* ");
      pw.print(name);
      
      Content[] content=node.getContent();
      for (Content curr : content)
      {
        pw.print(curr.getMime()); 
      }
    }
    */
  }
  
}
